package gzc.netty4;

import com.phei.netty.protocol.netty.NettyConstant;
import com.phei.netty.protocol.netty.client.NettyClient;
import com.phei.netty.protocol.netty.server.NettyServer;

public class App {
    public static void main(String[] args) throws Exception {
        new NettyServer().bind();
        new NettyClient().connect(NettyConstant.PORT, NettyConstant.REMOTE_IP);
    }
}
